import {createRouter, createWebHashHistory} from 'vue-router'
import Home from './pages/index.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            name: 'home',
            component: Home
        },
        {
            path: '/about',
            name: 'home',
            component: () => import('./pages/about.vue')
        },
    ]
});

export default router;